package com.Ip.service.impl;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.beans.factory.annotation.Qualifier;
import org.springframework.stereotype.Service;

import com.Ip.dao.UserDao;
import com.Ip.service.UserService;
@Service("userService")
public class UserServiceImp implements UserService{
	@Autowired
	@Qualifier("userDao")
	private UserDao userDao;
	
	@Override
	public int add() {
		userDao.add();
		System.out.println("hi");
		int result=1;
		return result;
		
	}

}
